package eg3;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestMapper {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext a=new AnnotationConfigApplicationContext
                ("eg3");
        CommentMapper cm=a.getBean(CommentMapper.class);
        System.out.println("cm="+cm);
    }
}
